package cn.asiawu.springboot.controller.dto;

import lombok.AllArgsConstructor;
import lombok.Data;

//接受登录等请求并包装成对象，与和数据库交互的User对象分开
@Data
@AllArgsConstructor
public class UserDto {
    private String username;
    private String password;
    private String nickname;
    private String avatar;
    private String token;
    private Boolean role;
}
